#!/bin/bash
OK=0
WARN=1
CRITICAL=2
UNKNOWN=3
PATH="/bin:/sbin:/usr/bin:/usr/sbin"

Temp=`cat /data/castor_install/scripts/check_tape_mount.log`
if [ "T$Temp" == "T" ]
then
	echo "castor tape mount are OK"
	exit $OK
else
	echo "castor tape mount is error"
	exit $CRITICAL
fi
